<%-- 
    Document   : Left
    Created on : Nov 5, 2012, 2:41:58 PM
    Author     : DAT
--%>

<%@page import="dao.ThuongHieuDAO"%>
<%@page import="pojo.ThuongHieu"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<table>
    <tr>
        <td height="294" align="center">
            <table width="100%" height="190" cellpadding="5" cellspacing="0" background="images/background.jpg">
                <tr>
                    <td height="30" align="center" background="images/Bartop.gif"><p><strong><font color="#FFFFFF">THƯƠNG HIỆU</font></strong></p></td>
                </tr>
                <% List<ThuongHieu> list = ThuongHieuDAO.layDanhSach();%>
                <!--BatDauThuongHieu-->
                <%
                    for (int i = 0; i < list.size(); i++) {
                        ThuongHieu dm = list.get(i);
                %>
                <tr>
                    <td>               
                        <a href="DanhSachSanPham.jsp?maThuongHieu=<%=dm.getMaThuongHieu()%>"><%=dm.getTenThuongHieu()%></a></td>
                </tr>  
                <%}%>
            </table>
            <table width="100%" background="images/background.jpg" >
                <tr>
                    <td colspan="2" height="30" align="center" background="images/Bartop.gif"><p><strong><font color="#FFFFFF">LOẠI SẢN PHẨM</font></strong></p></td>
                </tr>
                <tr>
                    <td width="51"><img src="images/kids_dep.gif"/></td>
                    <td width="137"><a><font color="#0000FF" >Dép</font></a></td>
                </tr>
                <tr>
                    <td width="51"><img src="images/batavai_Icon.png"/></td>
                    <td width="137"><a><font color="#0000FF" >Giầy thể thao</font></a></td>
                </tr>
                <tr>
                    <td width="51"><img src="images/men_daytay.gif"/></td>
                    <td width="137"><a><font color="#0000FF">Giầy tây</font></a></td>
                </tr>
                <tr>
                    <td width="51"><img src="images/nu_thoitrang.gif"/></td>
                    <td width="137"><font color="#0000FF"><a>Giầy cao gót</a></font></td>
                </tr>
                <tr>
                    <td width="51"><img src="images/men_sandal.gif"/></td>
                    <td width="137"><a><font color="#0000FF">Sandals</font></a></td>
                </tr>
                <tr>
                    <td width="51"><img src="images/kids_hai.gif"/></td>
                    <td width="137"><font color="#0000FF">Hài</font></td>
                </tr>

            </table>
        </td>
    </tr>
</table>